<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>易班签到系统</title>
	<script src="http://libs.baidu.com/jquery/1.10.2/jquery.min.js"></script>
</head>
<body>
	<form id="myform">
		<label><input type="button" name="" value="发起签到" onclick="start()"></label><br>
		<label><input type="button" name="" value="查看签到"></label><br>
		<label><input type="button" name="" value="历史记录" onclick="record()"></label><br>
		<label><input type="button" name="" value="设置" onclick="seting()"></label><br>
	</form>

</body>
<script type="text/javascript">
	function start()
	{
		window.location.href="__URL__/meetinginfo";
			// var formData = new FormData($( "#myform" )[0]);
		 //          $.ajax({
		 //          url:  '__URL__/code',
		 //          type: 'POST',
		 //          data: formData,
		 //          async: true,
		 //          cache: false,
		 //          contentType: false,
		 //          processData: false,
		 //          success: function (returndata) {
		 //              if(returndata.status)
		 //              {
		                
		 //                window.location.href="__URL__/code";
		 //              }
		 //              else
		 //              {
		 //              	alert(returndata.content);
		 //              }
		 //          },
		 //          error: function (returndata) {
		          	   
		 //               alert(returndata.content); 
		 //          }
	  //       });

	}

	function record()
	{
		window.location.href="__URL__/record";
	}
	function seting()
	{
		window.location.href="__URL__/seting";
	}
</script>
</html>